package homework;

public class SwimTest3 {
    public static void main(String[] args) {
        Dog3 dog = new Dog3("小黑",2,"黑");
            dog.eat();
            dog.drink();
            dog.swim();
            dog.lookHome();

            Fish3 fish=new Fish3("小金",1,"金");
            fish.eat();
            fish.drink();
            fish.swim();

            Chick3 chick=new Chick3("小白",3,"白") ;
            chick.eat();
            chick.drink();
            chick.layEggs();
    }
}
